package top.continew.admin.req.wecom;

import cn.shengchao.examstar.rpc.wecom.req.CustomerServiceGroupSaveDto;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @program: examstar-manger-api
 * @description: 客服组数据实体
 * @author: Xiong weiqiang
 * @create: 2025-04-09 15:32
 */
@Data
public class CustomerServiceGroupRto  implements Serializable {
    private Long groupId;
    private String groupName;
    private Integer enableStatus;

    private List<String> serviceWeComAccountIds;

    public CustomerServiceGroupSaveDto toDto() {
        CustomerServiceGroupSaveDto dto = new CustomerServiceGroupSaveDto();
        dto.setGroupId(this.groupId);
        dto.setGroupName(this.groupName);
        dto.setEnableStatus(this.enableStatus);
        dto.setServiceWeComAccountIds(this.serviceWeComAccountIds);
        return dto;
    }
}